package Test_0720;
public class Test {
    public static void main(String[] args) {
        Dog dog1 =new Dog();
        dog1.name="小白";
        dog1.age=2;
        dog1.color="白色";
        dog1.sleep();
        dog1.bark();
        Cat cat1 =new Cat();
        cat1.name="咪咪";
        cat1.age=2;
        cat1.color="棕色";
        cat1.sleep();
        cat1.mew();
    }


}
